<?php

namespace Entities;

use Doctrine\ORM\Mapping as ORM;

/**
 * Entities\Location
 */
class Location
{
    /**
     * @var float $longitude
     */
    private $longitude;

    /**
     * @var float $latitude
     */
    private $latitude;

    /**
     * @var string $street
     */
    private $street;

    /**
     * @var string $city
     */
    private $city;

    /**
     * @var string $postalcode
     */
    private $postalcode;

    /**
     * @var string $housenumber
     */
    private $housenumber;

    /**
     * @var string $housenumbersuffix
     */
    private $housenumbersuffix;

    /**
     * @var text $comment
     */
    private $comment;

    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var Entities\Country
     */
    private $country;


    /**
     * Set longitude
     *
     * @param float $longitude
     * @return Location
     */
    public function setLongitude($longitude)
    {
        $this->longitude = $longitude;
        return $this;
    }

    /**
     * Get longitude
     *
     * @return float 
     */
    public function getLongitude()
    {
        return $this->longitude;
    }

    /**
     * Set latitude
     *
     * @param float $latitude
     * @return Location
     */
    public function setLatitude($latitude)
    {
        $this->latitude = $latitude;
        return $this;
    }

    /**
     * Get latitude
     *
     * @return float 
     */
    public function getLatitude()
    {
        return $this->latitude;
    }

    /**
     * Set street
     *
     * @param string $street
     * @return Location
     */
    public function setStreet($street)
    {
        $this->street = $street;
        return $this;
    }

    /**
     * Get street
     *
     * @return string 
     */
    public function getStreet()
    {
        return $this->street;
    }

    /**
     * Set city
     *
     * @param string $city
     * @return Location
     */
    public function setCity($city)
    {
        $this->city = $city;
        return $this;
    }

    /**
     * Get city
     *
     * @return string 
     */
    public function getCity()
    {
        return $this->city;
    }

    /**
     * Set postalcode
     *
     * @param string $postalcode
     * @return Location
     */
    public function setPostalcode($postalcode)
    {
        $this->postalcode = $postalcode;
        return $this;
    }

    /**
     * Get postalcode
     *
     * @return string 
     */
    public function getPostalcode()
    {
        return $this->postalcode;
    }

    /**
     * Set housenumber
     *
     * @param string $housenumber
     * @return Location
     */
    public function setHousenumber($housenumber)
    {
        $this->housenumber = $housenumber;
        return $this;
    }

    /**
     * Get housenumber
     *
     * @return string 
     */
    public function getHousenumber()
    {
        return $this->housenumber;
    }

    /**
     * Set housenumbersuffix
     *
     * @param string $housenumbersuffix
     * @return Location
     */
    public function setHousenumbersuffix($housenumbersuffix)
    {
        $this->housenumbersuffix = $housenumbersuffix;
        return $this;
    }

    /**
     * Get housenumbersuffix
     *
     * @return string 
     */
    public function getHousenumbersuffix()
    {
        return $this->housenumbersuffix;
    }

    /**
     * Set comment
     *
     * @param text $comment
     * @return Location
     */
    public function setComment($comment)
    {
        $this->comment = $comment;
        return $this;
    }

    /**
     * Get comment
     *
     * @return text 
     */
    public function getComment()
    {
        return $this->comment;
    }

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set country
     *
     * @param Entities\Country $country
     * @return Location
     */
    public function setCountry(\Entities\Country $country = null)
    {
        $this->country = $country;
        return $this;
    }

    /**
     * Get country
     *
     * @return Entities\Country 
     */
    public function getCountry()
    {
        return $this->country;
    }
}